/****************************************************************************
** Form implementation generated from reading ui file 'findfiles.ui'
**
** Created: Thu Dec 14 10:57:47 2006
**      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.6   edited Aug 31 2005 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#include "findfiles.h"

#include <qvariant.h>
#include <qlabel.h>
#include <qcombobox.h>
#include <qpushbutton.h>
#include <qiconview.h>
#include <qlayout.h>
#include <qtooltip.h>
#include <qwhatsthis.h>
#include <qimage.h>
#include <qpixmap.h>

/*
 *  Constructs a FindFiles as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 *
 *  The dialog will by default be modeless, unless you set 'modal' to
 *  TRUE to construct a modal dialog.
 */
FindFiles::FindFiles( QWidget* parent, const char* name, bool modal, WFlags fl )
    : QDialog( parent, name, modal, fl )
{
    if ( !name )
	setName( "FindFiles" );

    lblTags = new QLabel( this, "lblTags" );
    lblTags->setGeometry( QRect( 10, 20, 60, 30 ) );

    comboBox1 = new QComboBox( FALSE, this, "comboBox1" );
    comboBox1->setGeometry( QRect( 70, 20, 261, 31 ) );

    btnSearch = new QPushButton( this, "btnSearch" );
    btnSearch->setGeometry( QRect( 340, 20, 101, 31 ) );

    iconView1 = new QIconView( this, "iconView1" );
    iconView1->setGeometry( QRect( 10, 70, 460, 200 ) );
    languageChange();
    resize( QSize(479, 286).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );
}

/*
 *  Destroys the object and frees any allocated resources
 */
FindFiles::~FindFiles()
{
    // no need to delete child widgets, Qt does it all for us
}

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void FindFiles::languageChange()
{
    setCaption( tr( "Find Files" ) );
    lblTags->setText( tr( "Tags :" ) );
    btnSearch->setText( tr( "&Search" ) );
    btnSearch->setAccel( QKeySequence( tr( "Alt+S" ) ) );
}

